﻿@model IEnumerable<Sales.UI.Web.Models.ListarClientesModels>
@{
    ViewBag.Title = "Index";
}
<h2>Index</h2>
<p>
    @*@Html.ActionLink("Criar Cliente", "AdicionaUsuario")*@
</p>
<table>
    @foreach (var item in Model)
    {
        <tr>
            <td>@Html.DisplayFor(modelItem => item.)</td>
            <td>@Html.DisplayFor(modelItem => item.sobrenome)</td>
            <td>@Html.DisplayFor(modelItem => item.endereco)</td>
            <td>@Html.DisplayFor(modelItem => item.email)</td>
            <td>@Html.DisplayFor(modelItem => item.nascimento)</td>
            <td>
                @*@Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
                @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
                @Html.ActionLink("Deletar", "DeletaUsuario", new { id = item.email })*@
            </td>
        </tr>
    }
</table>